package com.pureut.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.quality.domain.QualityInventoryRecheck;
import com.pureut.quality.domain.dto.QualityInventoryRecheckDto;
import com.pureut.quality.domain.dto.QualityInventoryRecheckViewDto;
import com.pureut.quality.domain.vo.QualityInventoryRecheckVo;

import java.util.List;

/***
 * 库存复检service
 * Author:C
 * Date:2023/02/09 11:34
 * @DESC
 */
public interface QualityInventoryRecheckService extends IService<QualityInventoryRecheck> {

    /**
     * 获取库存复检列表
     */
    List<QualityInventoryRecheckDto> getRecheckList(QualityInventoryRecheckVo qualityInventoryRecheckVo);

    /**
     * 库存复检新增
     */
    boolean add(QualityInventoryRecheckVo qualityInventoryRecheckVo) throws Exception;

    /**
     * 撤销
     */
    boolean revoke(String ids);

    /**
     * 查看
     */
    QualityInventoryRecheckViewDto getView(Long id);
}
